/**
 * Created with Webstorm 2017.2.1
 * User: xiaogu
 * Date: 2017/11/14
 * Time: 15:38
 *
 */

import Reg from 'components/User/Reg';
import DownLoad from 'components/DownLoad/download';
import Jump from 'components/Jump/Jump';
export default {
  routes: [
    { // 注册
      name: 'reg',
      path: '/reg',
      component: Reg,
      meta: {
        title: '注册'
      }
    },
    { // 注册
      name: 'download',
      path: '/download',
      component: DownLoad,
      meta: {
        title: '下载'
      }
    },
    { // 下载跳转
      name: 'jump',
      path: '/jump',
      component: Jump,
      meta: {
        title: '下载'
      }
    },
    {
      path: '/',
      redirect: '/reg'
    }
  ],
  // mode: 'history',
  base: '/tyLotter/', // 测试 加的路径前缀
  linkActiveClass: 'active' // 当前路由高亮类名
}
